Universit a Degli Studi Di Roma \la Sapienza" Fully Dynamic Algorithms for Path Problems on Directed Graphs Fully Dynamic Algorithms for Path Problems on Directed Graphs

نویسندگان

  • Camil Demetrescu
  • Umberto Nanni
چکیده

In this thesis we investigate fully dynamic algorithms for path problems on directed graphs. In particular, we focus on two of the most fundamental path problems: fully dynamic transitive closure and fully dynamic single-source shortest paths. The rst part of the thesis presents a new technique which makes it possible to reduce fully dynamic transitive closure to the problem of reevaluating polynomials over matrices when updates of variables are performed. Based on this technique, we devise a new deterministic algorithm which improves the best known bounds for fully dynamic transitive closure. Our algorithm hinges upon the well-known equivalence between transitive closure and matrix multiplication on a closed semiring. We show how to maintain explicitly the transitive closure of a directed graph as a Boolean matrix in O(n 2) amortized time per insertion and deletion of edges. Since an update may change as many as (n 2) entries of this matrix, this seems to be the best update bound that one could hope for this class of algorithms. We note that maintaining explicitly the transitive closure allows us to answer reachability queries with just one table lookup. We also consider the case where only deletions are allowed and we show how to handle updates faster in O(n) amortized time per operation while maintaining unit lookup per query; in this way we generalize to directed graphs the previous best known deletions-only result for acyclic graphs. Using the same matrix based approach, we also address the problem of maintaining implicitly the transitive closure of a directed graph and we devise the rst algorithm which supports both updates and reachability queries in subquadratic time per operation. This result proves that it is actually possible to break through the O(n 2) barrier on the single-operation complexity of fully dynamic transitive closure, and solves a problem that has been open for many years. Our subquadratic algorithm is randomized Monte Carlo and supports update in O(n 1:58) and query in O(n 0:58) worst-case time. From an experimental point of view, we investigate the practical performances of fully dynamic single-source shortest paths algorithms on directed graphs with arbitrary edge weights. We also propose a variant of the best known algorithms especially designed to be simple and fast in practice while matching the same asymptotic worst-case running time. Our study provides the rst experimental evidence of practical dynamic solutions for the problem that are better by several orders of …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Linear dynamic response of nanobeams accounting for higher gradient effects

Linear dynamic response of simply supported nanobeams subjected to a variable axial force is assessed by Galerkin numerical approach. Constitutive behavior is described by three functional forms of elastic energy densities enclosing nonlocal and strain gradient effects and their combination. Linear stationary dynamics of nanobeams is modulated by an axial force which controls the global stiffne...

متن کامل

Dynamic Shortest Paths and Transitive Closure: an Annotated Bibliography (Draft)

This is an annotated bibliography on fully dynamic algorithms for path problems on general directed graphs. In particular, we consider two fundamental problems: dynamic transitive closure and dynamic shortest paths. Although research on these problems spans over more than three decades, in the last couple of years many novel algorithmic techniques have been proposed. 1 Dynamic Path Problems A d...

متن کامل

Experimental Analysis of Dynamic

In this paper we perform experiments on the fully dynamic single source shortest path problem on directed graphs with positive real edge weights. We propose an experimental analysis of three diierent algorithms: Dijkstra's algorithm, and two output bounded algorithms by Ramalingam and Reps 15] and by Frigioni, Marchetti and Nanni 12]. The main goal of this paper is to provide a rst experimental...

متن کامل

Dynamic shortest paths and transitive closure: Algorithmic techniques and data structures

In this paper, we survey fully dynamic algorithms for path problems on general directed graphs. In particular, we consider two fundamental problems: dynamic transitive closure and dynamic shortest paths. Although research on these problems spans over more than three decades, in the last couple of years many novel algorithmic techniques have been proposed. In this survey, we will make a special ...

متن کامل

Improved Minimum Cuts and Maximum Flows in Undirected Planar Graphs

In this paper we study minimum cut and maximum flow problems on planar graphs, both in static and in dynamic settings. First, we present an algorithm that given an undirected planar graph computes the minimum cut between any two given vertices in O(n log logn) time. Second, we show how to achieve the same O(n log logn) bound for the problem of computing maximum flows in undirected planar graphs...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001